﻿using System.ServiceModel;
using System.ServiceModel.Web;
using UFIDA.U9.WSS.ProxyService.Models;
using UFSoft.UBF.Service.Base;

namespace UFIDA.U9.WSS.ProxyService.Interfaces
{
    [ServiceContract]
    internal interface IProxyService
    {
        [OperationContract]
        [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json,
            BodyStyle = WebMessageBodyStyle.Bare)]
        ReturnMessage<object> Do(ProxyBase proxy);
    }
}